<%@ page import="iorder.Address" %>

<p>
<div class="fieldcontain ${hasErrors(bean: addressInstance, field: 'address1', 'error')} ">
	<label for="address">
		<g:message code="address.address1.label" default="Address1" />
		
	</label>
	<g:textField name="address1" value="${addressInstance?.address1}"/>
</div>
</p>

<p>
<div class="fieldcontain ${hasErrors(bean: addressInstance, field: 'address2', 'error')} ">
	<label for="address2">
		<g:message code="address.address2.label" default="Address2" />
		
	</label>
	<g:textField name="address2" value="${addressInstance?.address2}"/>
</div>

</p>

<p>
<div class="fieldcontain ${hasErrors(bean: addressInstance, field: 'city', 'error')} ">
	<label for="city">
		<g:message code="address.city.label" default="City" />
		
	</label>
	<g:textField name="city" value="${addressInstance?.city}"/>
</div>
</p>

<p>
<div class="fieldcontain ${hasErrors(bean: addressInstance, field: 'county', 'error')} ">
	<label for="county">
		<g:message code="address.county.label" default="County" />
		
	</label>
	<g:textField name="county" value="${addressInstance?.county}"/>
</div>
</p>

<p>
<div class="fieldcontain ${hasErrors(bean: addressInstance, field: 'country', 'error')} ">
	<label for="country">
		<g:message code="address.country.label" default="Country" />
		
	</label>
	<g:textField name="country" value="${addressInstance?.country}"/>
</div>
</p>




<!--

<div class="fieldcontain ${hasErrors(bean: addressInstance, field: 'longitude', 'error')} ">
	<label for="longitude">
		<g:message code="address.longitude.label" default="longitude" />
		
	</label>
	<g:textField name="longitude" value="${addressInstance?.longitude}"/>
</div>




<div class="fieldcontain ${hasErrors(bean: addressInstance, field: 'latitude', 'error')} ">
	<label for="latitude">
		<g:message code="address.latitude.label" default="latitude" />
		
	</label>
	<g:textField name="latitude" value="${addressInstance?.latitude}"/>
</div>


-->